package com.yangzhe.base.base;

import android.content.Intent;
import android.os.Bundle;


public abstract class AppActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getContentViewId());
        initView();
        if (null != getIntent()) {
            handleIntent(getIntent());
        }
        initListenter();
    }

    protected abstract void initView();

    //获取Intent
    protected void handleIntent(Intent intent) {

    }

    //初始化点击事件
    protected void initListenter() {

    }

}